'''
ndarray多维数组的属性
'''

import numpy as np

ad = np.array([[1,2,3],[4,5,6],[7,8,9]])#ad是个3×3的二维数组，
print(ad.shape,ad.dtype,ad.size)
print(ad[1][1])#ndarray数组元素的访问方式和python列表一致